<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>welcome空白页，进行页面的跳转</title>
</head>
<body>

<% 
String show = session.getAttribute("show").toString();
if(show==null || show.equals("")){
	show = "/blog/home/article-list.jsp";
}else{
	if(show.equals("tagList")){
		show = request.getContextPath()+"/userManageServlet?act=findAllTag";
	}
	if(show.equals("articleList")){
		show = request.getContextPath()+"/userManageServlet?act=findAllArticle";
	}
	if(show.equals("replayList")){
		show = request.getContextPath()+"/userManageServlet?act=findAllReplay";
	}
	if(show.equals("publish")){
		show = request.getContextPath()+"/home/article-add.jsp";
	}
}
%>
<input type="hidden" id = "show" value="<%=show %>">
<script type="text/javascript">

//var loacl = '/blog/home/article-list.jsp';
var show = document.getElementById("show");
window.location.href = show.value ;
</script>
</body>
</html>